﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace AmiBrokerPlugin
{
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
    public class PluginNotification
    {
        /// int
        public int StructSize;

        /// int
        public int Reason;

        /// LPCTSTR
        [MarshalAs(UnmanagedType.LPTStr)]
        public string DatabasePath;

        /// HWND
        public IntPtr MainWnd;

        /// StockInfo
        public int CurrentSI;

        /// _Workspace
        public int Workspace;
    }
}
